package io;

import java.io.*;

public class FISDemo {
    public static void main(String[] args) throws IOException {
        FileInputStream fis=new FileInputStream("gsn");
        int d=fis.read();
        System.out.println(d);
        d=fis.read();
        System.out.println(d);
        d=fis.read();
        System.out.println(d);
        fis.close();
        File file =new File("./");
        FileOutputStream out=new FileOutputStream("gsn");
        out.write(257);
        System.out.println("完了");
        out.close();


    }
}
